package com.eies.engine.process.processimp;

import com.eies.business.ruleanalysis.caiji.TaxML;
import com.eies.engine.process.AbsComponent;
import com.eies.engine.rule.AbsRule;

public class BaseComponent extends AbsComponent {

	@Override
	public Object execute(Object obj) throws Exception {
		TaxML tax=(TaxML)obj;
		Class classBean = Class.forName(tax.getClassPath());
		AbsRule component = (AbsRule) classBean.newInstance();
		return component.execute(obj);
	}
}
